﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace OpenESSOConfigurator.BusinessLayer.Atoms
{
    [Serializable]
    public class Application
    {
        private String _id;
        private String _name;
        private String _version;
        private bool _enabled;
        private String _description;
        private String _comment;
        private String _passwordPolicyId;
        private String _credentialSharingGroupId;


        public Application()
        { }

        [XmlAttribute("id")]
        public String Id
        {
            get { return _id; }
            set { _id = value; }
        }
        [XmlAttribute("name")]
        public String Name
        {
            get { return _name; }
            set { _name = value; }
        }
        [XmlAttribute("version")]
        public String Version
        {
            get { return _version; }
            set { _version = value; }
        }
        [XmlAttribute("enabled")]
        public bool Enabled
        {
            get { return _enabled; }
            set { _enabled = value; }
        }
        public String Description
        {
            get { return _description; }
            set { _description = value; }
        }
        public String Comment
        {
            get { return _comment; }
            set { _comment = value; }
        }

        public String PasswordPolicyId
        {
            get { return _passwordPolicyId; }
            set { _passwordPolicyId = value; }
        }

        public String CredentialSharingGroupId
        {
            get { return _credentialSharingGroupId; }
            set { _credentialSharingGroupId = value; }
        }
    }
}
